﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    /// <summary>
    /// LabEquipment:实体类(设备信息表)
    /// </summary>
    [Serializable]
    public partial class LabEquipment
    {
        public LabEquipment()
        { }
        #region Model
        private int _id;
        private string _name;
        private int _type;
        private string _seller;
        private DateTime? _buydate;
        private decimal? _price;
        private string _quality;
        private string _functions;
        private int _labid;
        private int _status;
        private string _propertyno;
        private int _usetype;
        private int _count = 1;
        private string _manager;
        private string _brand;
        private string _model;
        private string _images;
        private int? _handlerid;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 设备类型外键
        /// </summary>
        public Parameter typeParam { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string seller
        {
            set { _seller = value; }
            get { return _seller; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? buydate
        {
            set { _buydate = value; }
            get { return _buydate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string quality
        {
            set { _quality = value; }
            get { return _quality; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string functions
        {
            set { _functions = value; }
            get { return _functions; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int LabID
        {
            set { _labid = value; }
            get { return _labid; }
        }
        /// <summary>
        /// 实验室外键
        /// </summary>
        public Lab Lab { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        ///  设备状态外键
        /// </summary>
        public Parameter statusParam { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string propertyNO
        {
            set { _propertyno = value; }
            get { return _propertyno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int usetype
        {
            set { _usetype = value; }
            get { return _usetype; }
        }
        /// <summary>
        ///  使用类型外键
        /// </summary>
        public Parameter usetypeParam { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int count
        {
            set { _count = value; }
            get { return _count; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string manager
        {
            set { _manager = value; }
            get { return _manager; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string brand
        {
            set { _brand = value; }
            get { return _brand; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string model
        {
            set { _model = value; }
            get { return _model; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string images
        {
            set { _images = value; }
            get { return _images; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? handlerID
        {
            set { _handlerid = value; }
            get { return _handlerid; }
        }
        #endregion Model

    }
}